package com.xuelang.pipeline.worker.client.crd.dto;

import com.xuelang.pipeline.worker.client.common.result.BaseK8sDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import jakarta.validation.constraints.NotEmpty;

/**
 * @author liuyuan.ly
 * @since 2024/5/29 17:48
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PipelineDTO extends BaseK8sDTO {
    private static final long serialVersionUID = -3660401467938092930L;

    @NotEmpty(message = "命名空间不能为空")
    private String namespaceName;

//    private V1Beta1Pipeline v1Beta1Pipeline;

    /**
     * pipelineName
     */
    private String pipelineName;

    private String v1Beta1PipelineStr;

}
